﻿using System;
using UnitOfWorkDemo.Infrastructure;

namespace UnitOfWorkDemo.Model
{
    // 账号实体类
    public class Account : IAggregateRoot
    {
        public decimal Balance { get; set; }

        public System.Guid Id { get; set; }

        public Account()
        {
            Id = Guid.NewGuid();
        }
    }
}